#pragma once
#include "common.h"

class CChip
{
private:
	int m_nIndex;
	int m_nRoomnum;
	AREA m_eArea;
	PLAYER m_eWhoseturn;
	bool m_bIson;

	int m_nLeft;
	int m_nRight;
	int m_nUpordown;

public:
	CChip(void);
	~CChip(void);

	void initialize(int Index);
	void setOn(PLAYER eWhoseturn);

	PLAYER getWhoseturn(void);
	int getLeftIndex(void);
	int getRightIndex(void);
	int getUpordownIndex(void);
	bool isOn(void);
};

